<?php

namespace app\common\validate\Business;

use think\Validate;

class Commission extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'busid'   => ['require'],
        'amount' => ['require'],
        'parentid' => 'require',
        'orderid' => 'require',
    ];


    /**
     * 提示消息
     */
    protected $message = [
        'busid.require' => '消费客户未知',
        'amount.require' => '佣金数额未知',
        'parentid.require'  => '推荐人未知',
        'orderid.require' => '订单未知',
    ];
    
     /**
     * 验证场景
     */
    protected $scene = [
    ];

}
